<template>
    <div>
        <ul>
            <li v-for="(item,index) in YearincomeArr.data" :key="index">
                <span>{{item.month}}月</span>
                <span>{{item.income}}</span>
            </li>
        </ul>
    </div>
</template>

<script>
export default {
    props:["YearincomeArr"],
    data () {
        return {

 
        }
    }
}
</script>
 
<style lang = "less" scoped>
    ul{
        padding:0 15px;

        li{
            background-color: #fff;
            padding:20px ;
            border-radius: 5px;
            display: flex;
            justify-content: space-between;
            margin-top: 10px;

            span{
                &:nth-of-type(1){
                    color: #666;
                }
                &:nth-of-type(2){
                    color: #023cb0;
                }
            }
        }
    }
</style>